POV-Ray : Newsgroups : povray.general : Surface from XYZ data : Re: Surface from XYZ data Server Time
30 Jul 2024 16:14:48 EDT (-0400)
  Re: Surface from XYZ data  
From: Dan Connelly
Date: 15 Oct 2008 09:19:45
Message: <48f5edf1@news.povray.org>
Chris B wrote:

> The example pasted in below my signature illustrates one approach that 
> you could quite easily use. I transformed your data into POV-Ray arrays, 
> then used those arrays to build a POV-Ray mesh2 object. Transforming 
> your data in this way is quite simple using an editor that supports 
> columnar editing, such as the POV-Ray Windows editor. ie. to insert the 
> commas you can click in the gap between two numbers in the top line, 
> ctrl-shift-click in the corresponding position on the bottom line and 
> type a comma. (repeat 7 times, once for each gap).
> 
> This example isn't smoothed and smoothing would require an extra chunk 
> of code to calculate the mesh normals.
> 

Very nice!

Couldn't one also use bicupic patches to attain smoothness?  I've not had luck with
them yet.  If I get time, I'll put together an example of where I have had trouble.

Dan


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.